package com.zhijian.medical.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 常规病理常用语 新增or修改vo
 *
 * @author auto
 * @version 1.0
 * @date 2024-07-24 13:09:08
 */
@Data
@Api(tags = "常规病理常用语新增or修改vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonPhrasesSaveOrUpdateVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 自增主键
     */
    @ApiModelProperty(value = "自增主键", hidden = true)
    private Long id;

    /**
     * 标题名称
     */
    @ApiModelProperty("标题名称")
    private String name;

    /**
     * 父级id，0 为根目录
     */
    @ApiModelProperty("父级id，0 为根目录")
    @NotNull(message = "父级id，0 为根目录不能为空")
    private Long parentId;

    /**
     * 常用语内容
     */
    @ApiModelProperty("常用语内容")
    private String content;

}